//
//  UITableViewCell+Extension.swift
//  zhengwutong
//
//  Created by wangshuguan on 16/8/23.
//  Copyright © 2016年 wangshuguan. All rights reserved.
//

import UIKit
extension UITableViewCell {
    static func nib() -> UINib {
        return UINib(nibName: identifier, bundle: nil)
    }
    static var identifier:String{
        get{
            return NSStringFromClass(classForCoder()).components(separatedBy: ".").last!
        }
    }
}
extension UITableViewHeaderFooterView{
    static func nib() -> UINib {
        return UINib(nibName: identifier, bundle: nil)
    }
    static var identifier:String{
        get{
            return NSStringFromClass(classForCoder()).components(separatedBy: ".").last!
        }
    }
}
